/******************************************************************************
* File description: MaintenanceJiaReKuai2LaoHua.qml
* Function: 维护-加热块：老化测试
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-29
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14

Item {
    id: root

    /* property 定义开始 */

    /* property 定义结束 */

    RowLayout {
        id: containerLayout
        Layout.preferredWidth: parent.width
        anchors {
            top: parent.top
            left: parent.left
            right: parent.right
            leftMargin: 16
            rightMargin: 16
        }

        // 速度
        LabelComboBox {
            id: runZhiSpeed
            Layout.fillWidth: true
            Layout.preferredHeight: 40
            comboBoxWidth: width
            comboBoxHeight: height
            model: ["高", "中", "低"]
            comboBoxText: "速度"
        }

        // 次数
        LabelTextInput {
            id: runZhiCiShu
            Layout.fillWidth: true
            Layout.preferredHeight: 40
            inputWidth: width
            inputHeight: height
            labelText: "次数"
        }

        // 润脂测试
        PureButton {
            id: runZhiTestBtn
            Layout.preferredWidth: 120
            Layout.preferredHeight: 40
            pureBtnWidth: width
            pureBtnColor: "#FF2F42CD"
            pureHoveredColor: "#FF2F42CD"
            pureLabelColor: "#FFFFFFFF"
            pureFontHoveredColor: "#FFFFFFFF"
            pureBtnBorderColor: "transparent"
            pureText: "润脂测试"
            disabledPureBtnColor: "#FFF5F5F5"
            disabledPureBtnBorderColor: "#FFD9D9D9"
            disabledPureLabelColor: "#FFBFBFBF"
            // 关闭过渡效果
            isTransition: false
        }

        // 停止润脂
        PureButton {
            id: stopRunZhiBtn
            isEnable: false
            Layout.preferredWidth: 120
            Layout.preferredHeight: 40
            pureBtnWidth: width
            pureBtnColor: "#FF2F42CD"
            pureHoveredColor: "#FF2F42CD"
            pureLabelColor: "#FFFFFFFF"
            pureFontHoveredColor: "#FFFFFFFF"
            pureBtnBorderColor: "transparent"
            pureText: "停止润脂"
            disabledPureBtnColor: "#FFF5F5F5"
            disabledPureBtnBorderColor: "#FFD9D9D9"
            disabledPureLabelColor: "#FFBFBFBF"
            // 关闭过渡效果
            isTransition: false
        }
    }
}
